<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>书院后台管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/css/skins/_all-skins.min.css">
    <!-- iCheck -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/plugins/iCheck/flat/blue.css">
    <!-- Morris chart -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/plugins/morris/morris.css">
    <!-- jvectormap -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
    <!-- Date Picker -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/plugins/datepicker/datepicker3.css">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/plugins/daterangepicker/daterangepicker.css">
    <link rel="stylesheet" href="_RES_ADMIN_ROOT_/css/upload-img.css">


    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <header class="main-header">
        <!-- Logo -->
        <a href="index2.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>A</b>LT</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>Admin</b>LTE</span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="{:session(SESSION_USER)['avatar']}" class="user-image" alt="User Image">
                            <span class="hidden-xs">{:session(SESSION_USER)['username']}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header">
                                <img src="{:session(SESSION_USER)['avatar']}" class="img-circle"
                                     alt="User Image">
                                <p>
                                    {:session(SESSION_USER)['username']}
                                </p>
                            </li>
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="_ROOT_/admin/sysuser/lockscreen" class="btn btn-default btn-flat">锁屏</a>
                                </div>
                                <div class="pull-right">
                                    <a href="_ROOT_/admin/sysuser/logout" class="btn btn-default btn-flat">退出登录</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <aside class="main-sidebar">
        <section class="sidebar">
            <ul class="sidebar-menu">
                <li class="{:stripos($Request.path,'admin/index') === 0 ? 'active' : ''}">
                    <a href="_ROOT_/admin/index"><i class="fa fa-dashboard"></i> <span>首页</span></a>
                </li>
                <li class="{:stripos($Request.path,'admin/sysuser') === 0 ? 'active' : ''}">
                    <a href="_ROOT_/admin/sysuser"><i class="fa fa-user"></i> <span>用户管理</span></a>
                </li>
                <li class="{:stripos($Request.path,'admin/personal') === 0 ? 'active' : ''}">
                    <a href="_ROOT_/admin/personal"><i class="fa fa-book"></i> <span>作家管理</span></a>
                </li>
                <li class="{:stripos($Request.path,'admin/exhibition') === 0 ? 'active' : ''}">
                    <a href="_ROOT_/admin/exhibition"><i class="fa fa-book"></i> <span>作品管理</span></a>
                </li>
                <li class="{:stripos($Request.path,'admin/dynamic') === 0 ? 'active' : ''}">
                    <a href="_ROOT_/admin/dynamic"><i class="fa fa-book"></i> <span>书院动态管理</span></a>
                </li>
            </ul>
        </section>
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                首页
                <small>控制面板</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i>首页</a></li>
                <li class="active"></li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            {__CONTENT__}
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 2.3.7
        </div>
        <strong>Copyright &copy; 2014-2016 <a href="http://shuyuan.com">中汇创优</a>.</strong> All rights
        reserved.
    </footer>

</div>
<!-- ./wrapper -->

<!-- jQuery 2.2.3 -->
<script src="_RES_ADMIN_ROOT_/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
    $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.6 -->
<script src="_RES_ADMIN_ROOT_/bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="_RES_ADMIN_ROOT_/plugins/morris/morris.min.js"></script>
<!-- Sparkline -->
<script src="_RES_ADMIN_ROOT_/plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="_RES_ADMIN_ROOT_/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="_RES_ADMIN_ROOT_/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="_RES_ADMIN_ROOT_/plugins/knob/jquery.knob.js"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="_RES_ADMIN_ROOT_/plugins/daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="_RES_ADMIN_ROOT_/plugins/datepicker/bootstrap-datepicker.js"></script>
<!-- Slimscroll -->
<script src="_RES_ADMIN_ROOT_/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="_RES_ADMIN_ROOT_/plugins/fastclick/fastclick.js"></script>
<!-- bootbox-->
<script src="_RES_ADMIN_ROOT_/plugins/bootbox/bootbox.min.js"></script>
<!-- AdminLTE App -->
<script src="_RES_ADMIN_ROOT_/js/app.min.js"></script>
<script src="_RES_ADMIN_ROOT_/js/common.js"></script>
<script src="_RES_ADMIN_ROOT_/js/upload-img.js"></script>
{include file="toast"}
</body>
</html>
